<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" lang="zh" xml:lang="zh">
<head>
<META http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>工具向导: 使用 Rational XDE Developer 设计类</title>
<meta content="ToolMentor" name="uma.type">
<meta content="class_design" name="uma.name">
<meta content="使用 Rational XDE Developer 设计类" name="uma.presentationName">
<meta content="Tool:rup_xde:Rational XDE Developer" name="uma.category">
<meta name="element_type" content="tool_mentor">
<meta content="Rational XDE Developer" name="tool">
<meta content="description" name="filetype">
<meta name="role" content="">
<link type="text/css" href="./../../../css/default.css" rel="StyleSheet">
<script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageResource.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageSubSection.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/ContentPageToolbar.js"></script><script language="JavaScript" type="text/javascript" src="./../../../scripts/contentPage.js"></script><script language="JavaScript" type="text/javascript">
					var backPath = './../../../';
					var imgPath = './../../../images/';
					var nodeInfo=[{view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_gpYSoAILEdq-_NKqZM1EhA", "_qS-iwAIOEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D1C3F9B8-8EE3-4AF6-8E7B-0653AF1F2936}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_zRigkAILEdq-_NKqZM1EhA", "_U5tiUAISEdqTna4sZVFRow", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D1C3F9B8-8EE3-4AF6-8E7B-0653AF1F2936}"]}, {view: "view:_LVCagP5WEdmAzesbYywanQ", path: ["_LVCagP5WEdmAzesbYywanQ", "_AUv4MAIMEdq-_NKqZM1EhA", "_5ZuQsAIUEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D1C3F9B8-8EE3-4AF6-8E7B-0653AF1F2936}"]}, {view: "view:_FCx1oN7CEdmsEI4YDGX2ag", path: ["_FCx1oN7CEdmsEI4YDGX2ag", "_jD8dUAIbEdqEutyfYo0quQ", "_F1OgYAIbEdqEutyfYo0quQ", "{303A82D2-E3AB-4501-8563-0D4D43782AF9}", "{D1C3F9B8-8EE3-4AF6-8E7B-0653AF1F2936}"]}];
					contentPage.preload(imgPath, backPath, nodeInfo,  '', false, false, false);
				</script>
</head>
<body>
<div id="breadcrumbs"></div>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top"><a name="Top"></a>
<div id="page-guid" value="{D1C3F9B8-8EE3-4AF6-8E7B-0653AF1F2936}"></div>
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td nowrap="true" class="pageTitle">工具向导：使用 Rational XDE Developer 设计类</td><td width="100%">
<div id="contentPageToolbar" align="right"></div>
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" border="0" width="100%">
<tr>
<td class="pageTitleSeparator"><img height="1" title="" alt="" src="./../../../images/shim.gif"></td>
</tr>
</table>
<div class="overview">
<table cellpadding="0" cellspacing="0" border="0" width="97%">
<tr>
<td width="50"><img title="" alt="" src="./../../../images/toolmentor.gif"></td><td>
<table cellpadding="0" cellspacing="0" border="0" class="overviewTable">
<tr>
<td valign="top">此工具向导描述如何执行“使用 Rational XDE Developer 设计类”。</td>
</tr>
<tr>
<td>工具：<a href="./../../../core.base_rup/tools/rup_xde_D81FFA70.html" guid="{303A82D2-E3AB-4501-8563-0D4D43782AF9}">Rational XDE Developer</a></td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">关系</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<th scope="row" class="sectionTableHeading">相关元素</th><td class="sectionTableCell">
<ul>
<li>
<a href="./../../../core.base_rup/tasks/class_design_98F20FF9.html" guid="{27AE0601-2E95-4A6A-8EB3-0A4BA8E5626B}">类设计</a>
</li>
</ul>
</td>
</tr>
</table>
</div>
<div class="sectionHeading">主要描述</div>
<div class="sectionContent">
<table cellpadding="0" cellspacing="0" border="0" class="sectionTable">
<tr valign="top">
<td class="sectionTableSingleCell"><a id="Top" name="Top"></a> 
<h3>
    概述
</h3>
<p>
    此工具向导支持使用 Rational XDE Developer - Java Platform Edition 执行类的设计。
</p>
<p>
    此工具向导假定已按照<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/performing_architectural_analysis_65CE30FC.html" guid="{08B5477D-97F9-4EEB-AA59-A109128B5CA1}">工具向导：使用 Rational XDE 执行体系结构分析</a>中概述的步骤，作为<a class="elementLinkWithUserText" href="./../../../core.base_rup/tasks/architectural_analysis_2B9BE03.html" guid="{8CB48402-D4C5-4E17-BB33-507315CB1BBF}">任务：体系结构分析</a> 的一部分创建了结构化的<a class="elementLinkWithUserText" href="./../../../core.base_rup/workproducts/rup_design_model_2830034D.html" guid="{8CDAEAD4-5E84-4F50-87FD-3240ED047DE7}">设计模型</a>。
</p>
<ul>
    <li>
        此工具向导中的步骤与相应任务中的那些步骤相匹配。
    </li>
    <li>
        XDE 联机帮助中的主题链接标有<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" />。
    </li>
    <li>
        在本工具向导中执行以下步骤：
    </li>
    <li style="LIST-STYLE-TYPE: none">
        <ul>
            <li>
                <a href="#Use Design Patterns and Mechanisms">使用设计模式和机制</a>
            </li>
            <li>
                <a href="#Create Initial Design Classes">创建初始设计类</a>
            </li>
            <li>
                <a href="#Define Persistent Classes">确定持久类</a>
            </li>
            <li>
                <a href="#Define Class Visibility">定义类可视性</a>
            </li>
            <li>
                <a href="#Define Operations">定义操作</a>
            </li>
            <li>
                <a href="#Define Methods">定义方法</a>
            </li>
            <li>
                <a href="#Define States">定义状态</a>
            </li>
            <li>
                <a href="#Define Attributes">定义属性</a>
            </li>
            <li>
                <a href="#Define Dependencies">定义依赖关系</a>
            </li>
            <li>
                <a href="#Define Associations">定义关联</a>
            </li>
            <li>
                <a href="#Define Generalizations">定义泛化关系</a>
            </li>
            <li>
                <a href="#Resolve Use-Case Collisions">解决用例冲突</a>
            </li>
            <li>
                <a href="#Handle Non-Functional Requirements">处理一般的非功能需求</a>
            </li>
            <li>
                <a href="#Evaluate Your Results">评估结果</a>
            </li>
        </ul>
    </li>
</ul>
<h3>
    <a id="Use Design Patterns and Mechanisms" name="Use Design Patterns and Mechanisms">使用设计模式和机制</a>
</h3>
<p>
    合并模式和／或机制将有效地执行本工具向导中的许多后续步骤（添加新类、操作、属性和关系），但是符合模式或机制定义的规则。
</p>
<p>
    有关使用模式的其他信息：<!-- end - wsw -->
</p>
<ul>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Applying Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"ea","ea_o_apply_pttrn"); -->
    </li>
</ul>
<h3>
    <a id="Create Initial Design Classes" name="Create Initial Design Classes"></a>创建初始设计类
</h3>
<ol>
    <li>
        向模型添加一个类图。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Diagrams</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_dgm"); -->。
    </li>
    <li>
        向类图添加设计类。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Shapes to Diagrams</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_shp_dgm"); -->。
    </li>
    <li>
        记录每个类。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Documenting Model Elements</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_doc_model_elem"); -->.
    </li>
</ol>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Working with Class Diagrams</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_o_work_w_class_dgms"); -->.
</p>
<h3>
    <a id="Define Persistent Classes" name="Define Persistent Classes">确定持久类</a>
</h3>
<p>
    类可以被标记为持久。参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Specifying Persistence</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_spec_persistence"); -->。
</p><!-- begin - wsw -->
<p>
    在 J2EE 开发中，通常使用实体 EJB 来实施持久性。请参阅<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/identifying_design_elements_F8D68BA1.html" guid="{E6727D13-BE7B-4025-AD39-ECD6FA074D73}">工具向导：使用 Rational XDE 确定设计元素</a>获取详细信息。
</p>
<h3>
    <a id="Define Class Visibility" name="Define Class Visibility">定义类可视性</a>
</h3>
<p>
    对于每个类，请确定它所驻留包内的类可视性。
</p>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Specifying Visibility</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_spec_visibility"); -->。
</p>
<h3>
    <a id="Define Operations" name="Define Operations">定义操作</a>
</h3>
<ol>
    <li>
        向每个类添加操作。请参阅<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>向分类器添加操作</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_oper_clssfr"); -->。
    </li>
    <li>
        向操作添加参数。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Parameters to Operations</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_param_op"); -->。
    </li>
    <li>
        指定操作的可视性。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Specifying Visibility</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_spec_visibility"); -->。
    </li>
</ol>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding and Modifying Attributes and Operations in
    Classifiers</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_o_add_mod_atts_ops"); -->。
</p>
<h3>
    <a id="Define Methods" name="Define Methods">定义方法</a>
</h3>
<p>
    关于操作如何实施的描述可添加到操作描述中。
</p>
<p>
    可选地，时序图可以用来描述方法。请参阅 XDE 联机帮助主题 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Documenting Model Elements</i>
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_doc_model_elem"); -->。
</p>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Working with Interaction (Sequence) Diagrams</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_o_work_inter_dgm");JavaScript -->。
</p>
<h3>
    <a id="Define States" name="Define States">定义状态</a>
</h3>
<p>
    可以选择使用状态机。
</p>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Working with Statechart Diagrams</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_o_work_statechart_dgms"); -->。
</p>
<h3>
    <a id="Define Attributes" name="Define Attributes">定义属性</a><a id="Define Attributes and Relationships" name="Define Attributes and Relationships"></a>
</h3>
<ol>
    <li>
        定义属性。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Attributes</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_c_attibutes"); -->。
    </li>
    <li>
        向分类器添加属性。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Attributes to Classifiers</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_attributes_clssfr"); -->。
    </li>
    <li>
        指定可视性。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Specifying Visibility</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_spec_visibility"); -->。
    </li>
</ol>
<h3>
    <a id="Define Dependencies" name="Define Dependencies">定义依赖关系</a>
</h3>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Adding Dependency Relationships</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_depend_relshp"); -->.
</p>
<h3>
    <a id="Define Associations" name="Define Associations">定义关联</a>
</h3>
<ol>
    <li>
        添加关联关系。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Association Relationships</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_assoc_rels"); -->。
    </li>
    <li>
        指定每个关联的种类。请参阅 <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Specifying Kinds of Association
        Relationships</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_spec_kinds_assoc"); -->。
    </li>
</ol>
<h3>
    <a id="Define Generalizations" name="Define Generalizations">定义泛化关系</a>
</h3>
<p>
    请参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Adding Generalization Relationships</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_add_genrlztn_relshp"); -->.
</p>
<h3>
    <a id="Resolve Use-Case Collisions" name="Resolve Use-Case Collisions">解决用例冲突</a>
</h3>
<p>
    参考：<img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /><i>Specifying the Type of Concurrency for Operations</i> 
    <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"rs","rs_t_spec_type_cncrrncy_op"); -->。
</p>
<h3>
    <a id="Handle Non-Functional Requirements" name="Handle Non-Functional Requirements">处理一般的非功能需求</a>
</h3>
<p>
    非功能需求通常驱动类使用协作和模式来结合特定的设计机制。通常，框架组件的使用已经足够满足非功能需求。（请参阅<a class="elementLinkWithUserText" href="./../../../core.base_rup/guidances/toolmentors/identifying_design_elements_F8D68BA1.html" guid="{E6727D13-BE7B-4025-AD39-ECD6FA074D73}">工具向导：使用 Rational XDE 确定设计元素</a>。）
</p>
<p>
    请参考：
</p>
<ul>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>J2EE Pattern-Driven Development</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"j","jee_c_j2ee_pattrns"); -->
    </li>
    <li>
        <img alt="帮助手册图标" src="./../../../core.base_rup/resources/helpbook.gif" /> <i>Applying Patterns</i> 
        <!--  Temporarily removed Javascript - ReferenceHelpTopic(topicTitle,"ea","ea_o_apply_pttrn"); -->
    </li>
</ul>
<h3>
    <a id="Evaluate Your Results" name="Evaluate Your Results">评估结果</a>
</h3>
<p>
    此步骤没有具体的 Rational XDE 指导信息。
</p><br />
<br /></td>
</tr>
</table>
</div>
<table cellpadding="0" cellspacing="0" border="0" class="copyright">
<tr>
<td class="copyright"><p>
    &copy; &nbsp;Copyright IBM Corp.&nbsp;1987, 2006. &nbsp;All Rights Reserved.
</p></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
<script language="JavaScript" type="text/javascript">
				contentPage.onload();
			</script>
</html>
